package com.xwh.b2c.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 属性值表
 * </p>
 *
 * @author xoox
 * @since 2025-07-10
 */
@Data
@TableName("tb_goods_attribute")
public class GoodsAttribute implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商品ID
     */
    private Long goodsId;

    /**
     * 属性ID
     */
    private Long attributeId;

    /**
     * 属性值
     */
    private String attributeValue;

    /**
     * 模型ID
     */
    private Long modelId;

    /**
     * 排序
     */
    private Short order;
}
